<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table width="100%" cellpadding="1" cellspacing="0" border="1" >
	<tr>
		<td style="padding-left: 50">
			题目
		</td>
		<td align="center">
			日期
		</td>
		<td align="center">
			浏览次数

		</td>
		<td align="center">
			是否修改
		</td>
		<td align="center">
			是否删除
		</td>
	</tr>
	<c:forEach items="${part_lists}" var="list">
		<tr>
			<td>
				${list.campus_construct_title}
			</td>
			<td align="center">
				${list.campus_construction_date}
			</td>
			<td align="center">
				${list.scan_num }
			</td>
			<td align="center">
				<a href="../modify?sid=3&id=${list.id}">修改</a>
			</td>
			<td align="center">
					<a href="javascript:;" id="deleteItemCampus_construct"
					onclick="deleteItemCampus_construct('${list.campus_construct_title}','${list.campus_construction_date}','${list.scan_num }','${list.id}','<%=(String) session.getAttribute("choice_id")%>')">删除</a>
			</td>
		</tr>
	</c:forEach>
</table>

<script type="text/javascript">
	function deleteItemCampus_construct(campus_construct_title,campus_construction_date,scan_num,id,choice_id) {
		var result = window.confirm("您确定要删除这条信息吗?\n\n"+"题目："+campus_construct_title+"\n"+"日期："+campus_construction_date+"\n浏览："+scan_num);
		if(result) {
			location.href="../DeleteServlet?id="+id+"&choice_id="+choice_id;
		}
	}
</script>

<jsp:include page="forward.jsp"></jsp:include>
